/**
 * Created by jerry on 2017/11/13.
 */
import * as API from './'

export default {

  getList: params => {
    return API.GET('/api/v1/articlecategory', params)
  },
  delete: (id) => {
    return API.DELETE(`/api/v1/articlecategory/${id}`)
  },
  removeBatch:(ids)=>{
    return API.DELETE(`/api/v1/articlecategory/batch/${ids}`)
  },
  add:(params)=>{
    return API.POST(`/api/v1/articlecategory`,params)
  },
  update:(params)=>{
    return API.PUT(`/api/v1/articlecategory`,params)
  },
  getFindId:(id)=>{
    return API.GET(`/api/v1/articlecategory/${id}`)
  }
}
